<!--EyouPHP Error -->  
<?php if ( BUG ) { ?>
   <div style="border:solid #d7d7d7 1px; border-radius:5px; box-shadow:#e7e7e7 2px 2px; padding:20px; width:auto; font-family:'微软雅黑', '新宋体', 'Times New Roman', Times, serif; font-size:16px; width:auto;max-width:1000px; margin:auto; background:#fff; opacity:0.5">
      <h2 style="padding:0px; margin:0px; font-weight:normal; line-height:25px; font-size:13px">
        <h1>发生错误：</h1>
        <div style="margin-bottom:10px">错误类型：<?php echo $Err[$errno] ?></div>
        <div style="margin-bottom:10px">错误提示：<?php echo $errstr; if ( FANYI ) { $e = explode(':', $errstr); unset( $e[0] ); $f = join(':', $e );  echo BAIDUFANYI::API( $f );}?></div>
        <div style="margin-bottom:10px">错误位置：<?php echo $errfile?></div>
        <div style="margin-bottom:10px">错误行号：<?php echo $errline?></div>
        <div style="margin-bottom:10px"><span style="display:inline-block; float:left">错误代码：</span><span style="display:inline-block; float:left; background:#d7d7d7;padding:3px; color:#039; border-radius:5px"><?php
           $Code  = file($errfile);
           $Aline = $errline - 5;
           !$Aline && $Aline = 0;
           $Eline = $Aline + 10;
           $Eline > sizeof( $Code ) && $Eline = sizeof( $Code );
           $String = '';
           for( $i = $Aline; $i < $Eline; $i++) {
             $String .= "{$Code[$i]}";
           }
          echo  highlight_string($String, true);
          unset( $Code, $Aline, $Eline, $String, $i );
        ?>
         </span>
         <div style="clear:both"></div>
        </div>
      </h2>
   </div>
<?php } else { ?>
   
   <img src="/EyouPHP/Template/error.png" style="display:block; position:relative; margin:auto">

<?php }unset( $Msg );?>
<!-- End -->